package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地址管理对象 t_user_address
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
public class UserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址ID */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String addressName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String addressTel;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDetails;

    /** 地址类型 */
    @Excel(name = "地址类型")
    private Integer addressType;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAddressName(String addressName) 
    {
        this.addressName = addressName;
    }

    public String getAddressName() 
    {
        return addressName;
    }
    public void setAddressTel(String addressTel) 
    {
        this.addressTel = addressTel;
    }

    public String getAddressTel() 
    {
        return addressTel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAddressDetails(String addressDetails) 
    {
        this.addressDetails = addressDetails;
    }

    public String getAddressDetails() 
    {
        return addressDetails;
    }
    public void setAddressType(Integer addressType) 
    {
        this.addressType = addressType;
    }

    public Integer getAddressType() 
    {
        return addressType;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("addressName", getAddressName())
            .append("addressTel", getAddressTel())
            .append("address", getAddress())
            .append("addressDetails", getAddressDetails())
            .append("addressType", getAddressType())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
